Skip to content

fix(deps): update rust crate mtp-rs to 0.27.0 - autoclosed#38

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mtp-rs-0.x
Closed

fix(deps): update rust crate mtp-rs to 0.27.0 - autoclosed#38
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mtp-rs-0.x

Conversation

@renovate

@renovate renovate Bot commented Jul 18, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Type Update Change
mtp-rs dependencies minor 0.26.00.27.0

Release Notes

vdavid/mtp-rs (mtp-rs)

v0.27.0

Compare Source

Library 0.27.0, CLI 0.7.2. Consumers can react to a device being plugged in instead of re-listing to find out.

Added
  • [lib] Watch for devices being plugged in and unplugged: mtp::watch_devices(). Returns a DeviceWatch stream of HotplugEvent::Arrived(MtpDeviceInfo) / Left(MtpDeviceInfo), so a consumer reacts to a phone appearing instead of re-listing on a timer or on every USB event the system produces. Devices already connected are reported as Arrived on first poll, which means one code path and no gap for a device plugged in during startup to fall through. Left carries the full device info, including the serial the OS doesn't report on disconnect, so a consumer with two phones attached can tell which one went away. Non-MTP USB traffic never reaches the consumer. Tune with DeviceWatchBuilder (known_devices, settle_delay; default DEFAULT_SETTLE_DELAY is 500 ms). USB only, so virtual devices don't produce events. See examples/watch_devices.rs. Verified on a Pixel 9 Pro XL: connected-at-start, unplug, and replug all reported correctly, with the departing device still fully identified.
  • [cli] No CLI changes; 0.7.2 just tracks the new library version.

Configuration

📅 Schedule: (in timezone Europe/Budapest)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/mtp-rs-0.x branch from 87cf6f3 to 81e1a81 Compare July 18, 2026 23:23
@renovate renovate Bot changed the title fix(deps): update rust crate mtp-rs to 0.25.0 fix(deps): update rust crate mtp-rs to 0.25.0 - autoclosed Jul 20, 2026
@renovate renovate Bot closed this Jul 20, 2026
@renovate
renovate Bot deleted the renovate/mtp-rs-0.x branch July 20, 2026 12:37
@vdavid

vdavid commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Auto-closed because main moved past it: mtp-rs is now at 0.26.0.

The compile break this bump would have caused (E0063: missing field supports_partial_object_64``) is fixed, and so is the underlying ergonomics problem, upstream: VirtualDeviceConfig now implements `Default`, so Cmdr builds it as `VirtualDeviceConfig { storages: vec![...], ..Default::default() }` and a future field addition in mtp-rs won't break this repo again. See `c129fba56`.

@renovate renovate Bot changed the title fix(deps): update rust crate mtp-rs to 0.25.0 - autoclosed fix(deps): update rust crate mtp-rs to 0.27.0 Jul 20, 2026
@renovate renovate Bot reopened this Jul 20, 2026
@renovate
renovate Bot force-pushed the renovate/mtp-rs-0.x branch 2 times, most recently from 81e1a81 to eb3bbed Compare July 20, 2026 13:11
@renovate renovate Bot changed the title fix(deps): update rust crate mtp-rs to 0.27.0 fix(deps): update rust crate mtp-rs to 0.27.0 - autoclosed Jul 20, 2026
@renovate renovate Bot closed this Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant